package com.hqyj.project.mapper;

import com.hqyj.project.dto.AttendanceDto;
import com.hqyj.project.vo.AttendanceVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AttendMapper {
    List<AttendanceVo> selectAttendanceByUserId(AttendanceDto attendanceDto);
    Integer selectAttendanceCount(AttendanceDto attendanceDto);

    void deleteOneByClockId(Integer clockId);
    void deleteAttendances(@Param("clockIds") Integer[] clockIds);
    void updateAttendance(AttendanceDto attendanceDto);
    void insertAttendance(AttendanceDto attendanceDto);
    List<AttendanceVo> selectSelf(AttendanceDto attendanceDto);
}
